import { dynamicWrapper, createRoute } from 'utils/core';

const routesConfig = app => ({
  path: '/goods',
  title: '商品管理',
  component: dynamicWrapper(app, [import('./model'), import('../GoodType/model')],
    () => import('./components'))
});

export default app => createRoute(app, routesConfig);
